<%-- 
    Document   : newSRQ
    Created on : 12/08/2011, 11:27:31 AM
    Author     : Lewis Kelly
--%>


<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="../header.jsp" %>
<script language="javascript">
    var thing;
    
    function chooseType(){
        thing = document.shortQuestion.SAChart.value;
        if (thing != "|---Select---|"){
            window.location = thing+".html?pid=<c:out value="${ppids}"/>";
        }
    }
    

    
</script>

<link rel="stylesheet" type="text/css" href="../style.css"/>
<div id="content-container1">
    <div id="content">
        <!-- Content goes here -->
        <h3>Choose Question Type</h3>
        <div id="tablecontainer">
            <form id="shortQuestion" name='shortQuestion' method="POST" action="newSRQ.html">

                <select name="SAChart" id="SAChart" onChange="chooseType()">
                    <option id="selected">|- - - Select - - -|</option>
                    <option id="numeric">Numeric</option>
                    <option id="alphanumeric">Alphanumeric</option>
                </select>
    <!--            <input type="button" value="Select" onclick="chooseType()"/>-->


            </form>
        
             <p> <input type="button" value="Back" onClick="javascript: history.go(-1)"></p>
        </div>
    </div>

    <%@ include file="../footer.jsp" %>



